/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


package mapeServer;


/**
 *
 * @author marco
 */
public class ServerProxy {
    private Service servant;
    private Connection connection;
    // from config
    int port = 10000;
    
    public ServerProxy(){
        servant = Servant.getInstance();
        
        
        connection = new TCPService(servant, port);
        Thread conn;
        conn = new Thread(connection);
        conn.start();
        
        
        //TODO have to create other interfaces
    }
    
     public Service getServant() {
        return servant;
    }
}
